import request from '../request/request.js'

// 获取推荐歌曲
export const hotrecommentApi = (value) => {
    return request({
        method: 'get',
        url: `/top/playlist?limit=${value}&order=hot`,
    })
}

// 获取首页轮播图
export const bannerApi = () => {
    return request({
        method: 'get',
        url: `/banner`,
    })
}

// 获取首页新专辑
export const newAlbumApi = () => {
    return request({
        method: 'get',
        url: `/album/newest`,
    })
}